package com.ruoyi.chat.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 助手知识库关联对象 chat_dataset
 * 
 * @author ruoyi
 * @date 2025-03-27
 */
public class ChatDataset extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 聊天助手ID */
    @Excel(name = "聊天助手ID")
    private Long chatId;

    /** ragflow的知识库ID */
    @Excel(name = "知识库ID")
    private Long datasetId;

    public ChatDataset() {

    }

    public ChatDataset(Long chatId, Long datasetId) {
        this.chatId = chatId;
        this.datasetId = datasetId;
    }

    public void setChatId(Long chatId) 
    {
        this.chatId = chatId;
    }

    public Long getChatId() 
    {
        return chatId;
    }

    public void setDatasetId(Long datasetId)
    {
        this.datasetId = datasetId;
    }

    public Long getDatasetId()
    {
        return datasetId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("chatId", getChatId())
            .append("datasetId", getDatasetId())
            .toString();
    }
}
